home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7120 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: bigblue.oit.unc.edu!schoenbg
  2. From: schoenbg@med.unc.edu (Geoffrey Mark Schoenbaum)
  3. Newsgroups: comp.lang.c++
  4. Subject: printing dialog
  5. Date: 21 Feb 1996 20:17:03 GMT
  6. Organization: UNC-CH School of Medicine
  7. Distribution: world
  8. Message-ID: <4gfujv$p5t@bigblue.oit.unc.edu>
  9. NNTP-Posting-Host: dalton.med.unc.edu
  10. Originator: schoenbg@dalton
  11.  
  12.  
  13. Hi,
  14.  
  15. I am just beginning to program in Visual C++ (version 4), and I have a few
  16. issues that I hope to find some help with.  First I am planning to draw
  17. the results of some data analysis on a dialog box and I need to 1)print
  18. that area of the dialog box and 2)save that graphical output to a file
  19. like a Windows Metafile or other graphics format that can then be
  20. manipulated by other programs.  Unfortunately none of the books that I
  21. have give a clear example of how to either implement printing of a dialog
  22. box (as opposed to a document which seems straight forward since the
  23. ClassWizard sets up most of the code) and there is no talk of saving
  24. graphics although one text makes mention of capturing it as a metafile.  
  25.  
  26. Second, I thought I would be able to run programs developed under version
  27. 4 which is a win95 program, under win3.1 but have been unable to do this -
  28. when I run the exe of my program on a win3.1 machine it tries to run it in
  29. DOS mode and generates a "cannot run in DOS mode error".  
  30.  
  31. Any suggestions are appreciated - my newsreader is fairly unusable so
  32. replies to my email are best.
  33.  
  34. Geoff Schoenbaum
  35. schoenbg@med.unc.edu
  36.